package com.cdu.ai_intelligent_teaching_and_training_system.entity;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.time.LocalDateTime;

@Data
public class Course {
    private Long courseId;
    
    @NotBlank(message = "课程名称不能为空")
    private String name;
    
    private String description;
    
    private Long teacherId; // 关联Teacher表的外键
    
    private LocalDateTime createdTime;
} 